package org.xiong.disk.bean;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("upload_record")
public class UploadRecord {
    private int upId;
    private String fileName;
    private String upTime;
    private String upStatus;
    private String upPath;
    private String userPhone;

    public UploadRecord(String fileName, String upTime, String upStatus, String upPath, String userPhone) {
        this.fileName = fileName;
        this.upTime = upTime;
        this.upStatus = upStatus;
        this.upPath = upPath;
        this.userPhone = userPhone;
    }

}
